package com.imooc.proxy;
/**
* Created By lijiliang on 2018年7月26日 下午1:26:04
*/
public class Car3 implements Moveable {
	private Car car;
	
	public Car3(Car car) {
		super();
		this.car = car;
	}

	@Override
	public void move() {
		long starttime=System.currentTimeMillis();
		System.out.println("汽车开始行驶。。");
		car.move();
		long endtime=System.currentTimeMillis();
		System.out.println("汽车行驶结束。。"+"行驶时间为："+(endtime-starttime)+"毫秒");

	}

}
